package io.renren.modules.noc.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.renren.common.utils.PageUtils;
import io.renren.common.utils.Query;

import io.renren.modules.noc.dao.NocMemberLabelDao;
import io.renren.modules.noc.entity.NocMemberLabelEntity;
import io.renren.modules.noc.service.NocMemberLabelService;


@Service("nocMemberLabelService")
public class NocMemberLabelServiceImpl extends ServiceImpl<NocMemberLabelDao, NocMemberLabelEntity> implements NocMemberLabelService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<NocMemberLabelEntity> page = this.page(
                new Query<NocMemberLabelEntity>().getPage(params),
                new QueryWrapper<NocMemberLabelEntity>()
        );

        return new PageUtils(page);
    }

}
